@import './mixin.scss';
@import './variables.scss';
@import './text.scss';
@import './element-ui.scss';

html,
body,
div,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
form,
input,
textarea,
th,
td,
select {
  margin: 0;
  padding: 0;
}

// 关掉输入框(type=number)的箭头
// input::-webkit-inner-spin-button {
//   -webkit-appearance: none !important;

// }

// input::-webkit-outer-spin-button{
//   -webkit-appearance: none !important;

// }

// input[type="number"]{
//   -moz-appearance: textfield;

// }

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  /* width: 5760px;
  height: 1440px; */
  // background: #07172F;
}

// 解决使用zoom缩放后下方有空白
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Microsoft YaHei';
  font-size: 14px;
  // color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

ul,
ol {
  list-style: none;
}

img {
  border: none;
  vertical-align: middle;
}

i {
  font-style: normal;
}

a {
  text-decoration: none;
  color: #232323;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
}

input,
textarea {
  outline: none;
  border: none;
}

textarea {
  resize: none;
  overflow: auto;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: '.';
  width: 0;
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
  overflow: hidden;
}

// 滚动轴的样式
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #cccccc;
}

::-webkit-scrollbar-thumb:hover {
  background: #cccccc;
}

::-webkit-scrollbar-thumb:active {
  background: #cccccc;
}

.page-wrap-fixed {
  z-index: 9;
  position: fixed;
  width: 100%;
  bottom: 0px;
  // background: #f7f7f7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 40px;
  line-height: 25px;
  // border-top: 1px solid #bcbcbc;
  // border-bottom: 1px solid #bcbcbc;

  .page-option-wrap {
    // border: 1px solid #e8e8e8;
    border-radius: 2px;
    // background-color: #fff;

    .split-line {
      display: inline-block;
      width: 1px;
      // background-color: #e8e8e8;
      height: 16px;
      vertical-align: middle;
    }

    .page-option-icon {
      display: inline-block;
      padding: 0 10px;

      img {
        display: inline-block;
        vertical-align: middle;
      }
    }
  }
}

// 路由切换动画
/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-20px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(20px);
}

// 进度条颜色
#nprogress .bar {
  background: #00b7e4; //自定义颜色
}